﻿using System;
using System.Collections.Generic;

using RexToy.ORM.Dialect;

namespace Studio.Model
{
    public interface IDatabaseModel
    {
        string Server { get; set; }
        string Schema { get; set; }
        string UserName { get; set; }
        string Password { get; set; }
        bool IntegratedSecurity { get; set; }
        string ConnectString { get; }
        string Dialect { get; }
        string Provider { get; }
        string DialectProvider { get; }

        IEnumerable<ITable> Tables { get; }
        void ReadModel();
    }
}
